package cn.gdut.chengcai.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gdut.chengcai.entity.CourseChapterInfo;
import cn.gdut.chengcai.entity.CourseChapterInfoExample;

public interface CourseChapterInfoDao {
	long countByExample(CourseChapterInfoExample example);

	int deleteByExample(CourseChapterInfoExample example);

	int deleteByPrimaryKey(Long id);

	int insert(CourseChapterInfo record);

	int insertSelective(CourseChapterInfo record);

	List<CourseChapterInfo> selectByExample(CourseChapterInfoExample example);

	CourseChapterInfo selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") CourseChapterInfo record,
			@Param("example") CourseChapterInfoExample example);

	int updateByExample(@Param("record") CourseChapterInfo record, @Param("example") CourseChapterInfoExample example);

	int updateByPrimaryKeySelective(CourseChapterInfo record);

	int updateByPrimaryKey(CourseChapterInfo record);
}